<div class="row-fluid">
    <div class="span12">
        <div class="tabbable tabbable-custom boxless">
            <div class="tab-content">
                <div class="tab-pane active" id="tab_2">
                    <div class="portlet box green">
                        <div class="portlet-title">
                            <div class="caption"><i class="icon-reorder"></i></div>
                        </div>
                        <div class="portlet-body form">
                            <form id="adtvminfo" class="form-horizontal">
                                <h3 class="form-section">添加虚拟消息</h3>
    
                                <div class="row-fluid">
                                    <div class="span6 ">
                                        <div class="control-group">
                                            <label class="control-label">所属分类</label>
                                            <div class="controls picupload">
                                                <div class="pic_border">
                                                    <select name="a_type" id="a_type">
                                                        {foreach name='a_type' item='vo'}
                                                        <option value="{$key}">{$vo}</option>
                                                        {/foreach}
                                                    </select>
                                                    <span class="help-block"></span>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                
                                <div class="row-fluid">
                                    <div class="span6 ">
                                        <div class="control-group">
                                            <label class="control-label">消息标题</label>
                                            <div class="controls picupload">
                                                <div class="pic_border">
                                                    <input type="text"  name="a_title" value="" id="a_title"
                                                           class="m-wrap span12" style="width: 220px">
                                                    <span class="help-block"></span>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
    
                                <div class="row-fluid">
                                    <div class="span6 ">
                                        <div class="control-group">
                                            <label class="control-label">消息内容</label>
                                            <div class="controls picupload">
                                                <div class="pic_border">
                                                    <textarea name="a_content" id="a_content" cols="30" rows="10"></textarea>
                                                    <span class="help-block"></span>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                
                                <div class="row-fluid">
                                    <div class="span9 ">
                                        <div class="control-group">
                                            <label class="control-label">图片</label>
                                            <div class="controls">
                                                <div class="page-container">
                                                    <input type="hidden" name="photo" id="photo" value="">
                                                    <div id="uploader" class="wu-example">
                                                        <div class="queueList">
                                                            <div id="dndArea" class="placeholder">
                                                                <div id="filePicker"></div>
                                                                <p>或将照片拖到这里,支持JPG,JPEG,PNG</p >
                                                            </div>
                                                        </div>
                                                        <div class="statusBar" style="display:none;">
                                                            <div class="progress progress-striped active">
                                                                <div class="progress-bar progress-bar-success">
                                                                    <span>0%</span>
                                                                </div>
                                                            </div>
                                                            <div class="info"></div>
                                                            <div class="btns">
                                                                <div id="filePicker2"></div>
                                                                <div class="uploadBtn">开始上传</div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                <span class="help-block"></span>
                                            </div>
                                        </div>
                                    </div>
                                </div>
    
                                <div class="row-fluid">
                                    <div class="span6 ">
                                        <div class="control-group">
                                            <label class="control-label">浏览量</label>
                                            <div class="controls picupload">
                                                <div class="pic_border">
                                                    <input type="text"  name="a_num" value="0" id="a_num"
                                                           class="m-wrap span12" style="width: 220px">
                                                    <span class="help-block"></span>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
    
                                <div class="row-fluid">
                                    <div class="span6 ">
                                        <div class="control-group">
                                            <label class="control-label">手机号</label>
                                            <div class="controls picupload">
                                                <div class="pic_border">
                                                    <input type="text"  name="a_phone" value="" id="a_phone"
                                                           class="m-wrap span12" style="width: 220px">
                                                    <span class="help-block"></span>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
    
                                <div class="row-fluid">
                                    <div class="span6 ">
                                        <div class="control-group">
                                            <label class="control-label">发布时间</label>
                                            <div class="controls picupload">
                                                <div class="pic_border">
                                                    <label>
                                                        <input type="text" name="a_createtime" id="a_createtime"
                                                               aria-controls="sample_2" class="m-wrap" value="" style="height:20px" onclick="WdatePicker({lang:'zh-cn',dateFmt:'yyyy-MM-dd HH:mm:ss'})"/>
                                                    </label>
                                                    <span class="help-block"></span>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
    
                                <div class="row-fluid" id="choose">
                                    <div class="span6 ">
                                        <div class="control-group">
                                            <label class="control-label">选择权限</label>
                                            <div class="controls" >
                                                <select name="a_auth_type" id="a_auth_type" >
                                                    {foreach name='a_auth_type' item='vol'}
                                                    <option value="{$key}">{$vol}</option>
                                                    {/foreach}
                                                </select>
                                            </div>
                                        </div>
                                    </div>
                                </div>
    
                                <div class="row-fluid" id="choose">
                                    <div class="span6 ">
                                        <div class="control-group">
                                            <label class="control-label">选择定位省份</label>
                                            <div class="controls" >
                                                <select name="a_sheng" id="sheng" >
                                                    <option value="">全部</option>
                                                    {foreach name='province' item='vol'}
                                                    <option value="{$vol.district_id}">{$vol.district}</option>
                                                    {/foreach}
                                                </select>
                                            </div>
                                        </div>
                                    </div>
                                </div>
    
                                <div class="row-fluid" id="choose">
                                    <div class="span6 ">
                                        <div class="control-group">
                                            <label class="control-label">选择定位城市</label>
                                            <div class="controls" >
                                                <select name="a_shi" id="city" >
                                                    <option value="">全部</option>
                                                    {foreach name='city' item='vol'}
                                                    <option value="{$vol.district_id}">{$vol.district}</option>
                                                    {/foreach}
                                                </select>
                                            </div>
                                        </div>
                                    </div>
                                </div>
    
                                <div class="row-fluid" id="choose">
                                    <div class="span6 ">
                                        <div class="control-group">
                                            <label class="control-label">选择发布省份</label>
                                            <div class="controls" >
                                                <select name="publish_sheng" id="publishsheng" >
                                                    <option value="">全部</option>
                                                    {foreach name='province' item='vol'}
                                                    <option value="{$vol.district_id}">{$vol.district}</option>
                                                    {/foreach}
                                                </select>
                                            </div>
                                        </div>
                                    </div>
                                </div>
    
                                <div class="row-fluid" id="choose">
                                    <div class="span6 ">
                                        <div class="control-group">
                                            <label class="control-label">选择发布城市</label>
                                            <div class="controls" >
                                                <select name="publish_shi" id="publishcity" >
                                                    <option value="">全部</option>
                                                    {foreach name='city' item='vol'}
                                                    <option value="{$vol.district_id}">{$vol.district}</option>
                                                    {/foreach}
                                                </select>
                                            </div>
                                        </div>
                                    </div>
                                </div>
    
                                <div class="row-fluid" id="choose">
                                    <div class="span6 ">
                                        <div class="control-group">
                                            <label class="control-label">发布人</label>
                                            <div class="controls" >
                                                <select name="a_user_id" id="publishuser" >
                                                    {volist name='dummyUser' id='val'}
                                                    <option value="{$val.user_id}" >{$val.user_username}</option>
                                                    {/volist}
                                                </select>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                
                                <div class="form-actions">
                                    <button id="adtvmadd" type="button" class="btn blue"><i class="icon-ok"></i> 确定
                                    </button>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

